from typing import Annotated

from fastapi import Depends, FastAPI
from sqlmodel import Session

import api.service.llm_factory_service as llmService


async def list_llms():
    return llmService.list()


def add_llm_factory_routes(app: FastAPI):
    app.get("/llm_factory/list", summary="获取LLM列表", description="获取LLM列表")(list_llms)